Skip to content

[SLO] Stabilize deployment-agnostic SLO cleanup deletion#253726

Merged
fkanout merged 2 commits intoelastic:mainfrom
fkanout:fix/slo-cleanup-sequential-deleteall
Feb 18, 2026
Merged

[SLO] Stabilize deployment-agnostic SLO cleanup deletion#253726
fkanout merged 2 commits intoelastic:mainfrom
fkanout:fix/slo-cleanup-sequential-deleteall

Conversation

@fkanout
Copy link
Copy Markdown
Contributor

@fkanout fkanout commented Feb 18, 2026

Summary

It fixes #252819

  • Change deployment-agnostic SLO test cleanup (deleteAllSLOs) from parallel deletes to sequential deletes.
  • Keep existing strict 204 expectation for each delete request.
  • Reduce teardown contention that can surface as intermittent 500 errors during cleanup.

Why

deleteAllSLOs is used heavily in deployment-agnostic API integration setup/teardown. Running all SLO deletions in parallel can overload transform/rule/data cleanup in CI and produce transient failures. Sequential deletion improves stability while preserving coverage and assertions.

Files changed

  • x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts

Test plan

  • Lint check for edited file
  • Run deployment-agnostic SLO API integration suite in CI

Made with the help of Cursor

Switch deleteAllSLOs in deployment-agnostic API tests from parallel deletion to sequential deletion to reduce teardown contention and transient 500 responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
@fkanout fkanout requested a review from a team as a code owner February 18, 2026 13:49
@github-actions github-actions Bot added the author:actionable-obs PRs authored by the actionable obs team label Feb 18, 2026
@fkanout fkanout added backport:version Backport to applied version labels v9.3.0 v9.4.0 release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Feb 18, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/actionable-obs-team (Team:actionable-obs)

@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Feb 18, 2026

⏳ Build in-progress, with failures

Failed CI Steps

History

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#10780

[✅] x-pack/solutions/observability/test/api_integration_deployment_agnostic/configs/serverless/oblt.serverless.config.ts: 50/50 tests passed.

see run history

@fkanout fkanout enabled auto-merge (squash) February 18, 2026 16:20
@fkanout fkanout merged commit adf6d7d into elastic:main Feb 18, 2026
16 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.3

https://github.com/elastic/kibana/actions/runs/22149647298

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 18, 2026
)

## Summary

It fixes elastic#252819

- Change deployment-agnostic SLO test cleanup (`deleteAllSLOs`) from
parallel deletes to sequential deletes.
- Keep existing strict `204` expectation for each delete request.
- Reduce teardown contention that can surface as intermittent `500`
errors during cleanup.

## Why
`deleteAllSLOs` is used heavily in deployment-agnostic API integration
setup/teardown. Running all SLO deletions in parallel can overload
transform/rule/data cleanup in CI and produce transient failures.
Sequential deletion improves stability while preserving coverage and
assertions.

## Files changed
-
`x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts`

## Test plan
- [x] Lint check for edited file
- [ ] Run deployment-agnostic SLO API integration suite in CI

Made with the help of [Cursor](https://cursor.com)

(cherry picked from commit adf6d7d)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
9.3

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 18, 2026
…) (#253775)

# Backport

This will backport the following commits from `main` to `9.3`:
- [[SLO] Stabilize deployment-agnostic SLO cleanup deletion
(#253726)](#253726)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2026-02-18T17:07:12Z","message":"[SLO]
Stabilize deployment-agnostic SLO cleanup deletion (#253726)\n\n##
Summary\n\nIt fixes https://github.com/elastic/kibana/issues/252819\n\n-
Change deployment-agnostic SLO test cleanup (`deleteAllSLOs`)
from\nparallel deletes to sequential deletes.\n- Keep existing strict
`204` expectation for each delete request.\n- Reduce teardown contention
that can surface as intermittent `500`\nerrors during cleanup.\n\n##
Why\n`deleteAllSLOs` is used heavily in deployment-agnostic API
integration\nsetup/teardown. Running all SLO deletions in parallel can
overload\ntransform/rule/data cleanup in CI and produce transient
failures.\nSequential deletion improves stability while preserving
coverage and\nassertions.\n\n## Files
changed\n-\n`x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts`\n\n##
Test plan\n- [x] Lint check for edited file\n- [ ] Run
deployment-agnostic SLO API integration suite in CI\n\n\nMade with the
help of
[Cursor](https://cursor.com)","sha":"adf6d7d84e78e061b3b6505dae647a4475091878","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:actionable-obs","backport:version","v9.3.0","v9.4.0","author:actionable-obs"],"title":"[SLO]
Stabilize deployment-agnostic SLO cleanup
deletion","number":253726,"url":"https://github.com/elastic/kibana/pull/253726","mergeCommit":{"message":"[SLO]
Stabilize deployment-agnostic SLO cleanup deletion (#253726)\n\n##
Summary\n\nIt fixes https://github.com/elastic/kibana/issues/252819\n\n-
Change deployment-agnostic SLO test cleanup (`deleteAllSLOs`)
from\nparallel deletes to sequential deletes.\n- Keep existing strict
`204` expectation for each delete request.\n- Reduce teardown contention
that can surface as intermittent `500`\nerrors during cleanup.\n\n##
Why\n`deleteAllSLOs` is used heavily in deployment-agnostic API
integration\nsetup/teardown. Running all SLO deletions in parallel can
overload\ntransform/rule/data cleanup in CI and produce transient
failures.\nSequential deletion improves stability while preserving
coverage and\nassertions.\n\n## Files
changed\n-\n`x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts`\n\n##
Test plan\n- [x] Lint check for edited file\n- [ ] Run
deployment-agnostic SLO API integration suite in CI\n\n\nMade with the
help of
[Cursor](https://cursor.com)","sha":"adf6d7d84e78e061b3b6505dae647a4475091878"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/253726","number":253726,"mergeCommit":{"message":"[SLO]
Stabilize deployment-agnostic SLO cleanup deletion (#253726)\n\n##
Summary\n\nIt fixes https://github.com/elastic/kibana/issues/252819\n\n-
Change deployment-agnostic SLO test cleanup (`deleteAllSLOs`)
from\nparallel deletes to sequential deletes.\n- Keep existing strict
`204` expectation for each delete request.\n- Reduce teardown contention
that can surface as intermittent `500`\nerrors during cleanup.\n\n##
Why\n`deleteAllSLOs` is used heavily in deployment-agnostic API
integration\nsetup/teardown. Running all SLO deletions in parallel can
overload\ntransform/rule/data cleanup in CI and produce transient
failures.\nSequential deletion improves stability while preserving
coverage and\nassertions.\n\n## Files
changed\n-\n`x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts`\n\n##
Test plan\n- [x] Lint check for edited file\n- [ ] Run
deployment-agnostic SLO API integration suite in CI\n\n\nMade with the
help of
[Cursor](https://cursor.com)","sha":"adf6d7d84e78e061b3b6505dae647a4475091878"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
chrisbmar pushed a commit to chrisbmar/kibana that referenced this pull request Feb 19, 2026
)

## Summary

It fixes elastic#252819

- Change deployment-agnostic SLO test cleanup (`deleteAllSLOs`) from
parallel deletes to sequential deletes.
- Keep existing strict `204` expectation for each delete request.
- Reduce teardown contention that can surface as intermittent `500`
errors during cleanup.

## Why
`deleteAllSLOs` is used heavily in deployment-agnostic API integration
setup/teardown. Running all SLO deletions in parallel can overload
transform/rule/data cleanup in CI and produce transient failures.
Sequential deletion improves stability while preserving coverage and
assertions.

## Files changed
-
`x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts`

## Test plan
- [x] Lint check for edited file
- [ ] Run deployment-agnostic SLO API integration suite in CI


Made with the help of [Cursor](https://cursor.com)
ersin-erdal pushed a commit to ersin-erdal/kibana that referenced this pull request Feb 19, 2026
)

## Summary

It fixes elastic#252819

- Change deployment-agnostic SLO test cleanup (`deleteAllSLOs`) from
parallel deletes to sequential deletes.
- Keep existing strict `204` expectation for each delete request.
- Reduce teardown contention that can surface as intermittent `500`
errors during cleanup.

## Why
`deleteAllSLOs` is used heavily in deployment-agnostic API integration
setup/teardown. Running all SLO deletions in parallel can overload
transform/rule/data cleanup in CI and produce transient failures.
Sequential deletion improves stability while preserving coverage and
assertions.

## Files changed
-
`x-pack/solutions/observability/test/api_integration_deployment_agnostic/services/slo_api.ts`

## Test plan
- [x] Lint check for edited file
- [ ] Run deployment-agnostic SLO API integration suite in CI


Made with the help of [Cursor](https://cursor.com)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:actionable-obs PRs authored by the actionable obs team backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v9.3.0 v9.3.1 v9.4.0

Projects

None yet

4 participants